package org.datastealer.service.impl;

import org.datastealer.bean.DataSource;
import org.datastealer.dao.api.DashBoardDao;
import org.datastealer.service.DashBoardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

/**
 * Note：
 *
 * @author ：mengjw
 * @description：仪表盘接口实现
 * @date ：Created in 2020/9/28
 */
@Service
public class DashBoardServiceImpl implements DashBoardService {

    @Lazy
    @Autowired
    private DashBoardDao dashBoardDao;

    @Override
    public DataSource getDataSource() {
        return dashBoardDao.getDataSource();
    }

}